increase the size of the image in Swiftui

257

increase the size of the image in Swiftui -

struct ResizedImage: View {
    var body: some View {

            Image("myImage")
                .resizable()
                .scaledToFit()
                .frame(width: 200.0,height:200)

    }
}

Comments

Submit
0 Comments